package ModelLayer;

/**
 * SalesOrder.java
 * @author Brian Lassen
 * @version 20. Marts 2012
 */
public class SalesOrder
{
	private int id;
	private String date;
	private String deliveryStatus;
	private String deliveryDate;
	private int amount;
	private int customerid;
	private int invoiceno;

	public SalesOrder()
	{
		this.id = 0;
		this.date = "";
		this.deliveryStatus = "";
		this.deliveryDate = "";
		this.amount = 0;
		this.customerid = 0;
		this.invoiceno = 0;
	}
	
	public SalesOrder(int id, String date, String deliveryStatus, String deliveryDate, int amount, int customerid, int invoiceno)
	{
		this.id = id;
		this.date = date;
		this.deliveryStatus = deliveryStatus;
		this.deliveryDate = deliveryDate;
		this.amount = amount;
		this.customerid = customerid;
		this.invoiceno = invoiceno;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDeliveryStatus() {
		return deliveryStatus;
	}

	public void setDeliveryStatus(String deliveryStatus) {
		this.deliveryStatus = deliveryStatus;
	}

	public String getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(String deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public int getCustomerid() {
		return customerid;
	}

	public void setCustomerid(int customerid) {
		this.customerid = customerid;
	}

	public int getInvoiceno() {
		return invoiceno;
	}

	public void setInvoiceno(int invoiceno) {
		this.invoiceno = invoiceno;
	}
	
	
}
